package com.itheima.service.impl;

import com.itheima.service.UserService;
import org.springframework.stereotype.Component;
import org.springframework.stereotype.Service;

import javax.annotation.PostConstruct;
import javax.annotation.PreDestroy;

/**
 * value属性就是对象的id
 * 如果不指定value属性，那么id就是类名首字母改小写
 */
@Service
public class UserServiceImplAnother implements UserService {

    @Override
    public String getName() {
        return "李四";
    }
}
